[XEN][HVM] Make sure that the interrupt which event channel events come in
authorSteven Smith <ssmith@xensource.com>
Fri, 29 Sep 2006 13:42:04 +0000 (14:42 +0100)
committerSteven Smith <ssmith@xensource.com>
Fri, 29 Sep 2006 13:42:04 +0000 (14:42 +0100)
commit1e75ea849ed05552525f57e4318876f66ebbc28a
treee32976ce8d00c0e4400845defc2c9be52e85a897
parent448496a5e2d50d023a5d2aae9d7f35d90b63d78d
[XEN][HVM] Make sure that the interrupt which event channel events come in
on is level triggered rather than edge triggered, since it's a PCI device.
This is complicated by the possibility that another PCI device could be
on the same interrupt; the workaround is to have two irr registers
for the PIC and APIC, and have qemu and Xen generated interrupts go
into different ones.

This broke the alt_irq stuff.  Fortunately, nobody uses that anymore, so
I've removed it.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
xen/arch/x86/hvm/i8259.c
xen/arch/x86/hvm/svm/intr.c
xen/arch/x86/hvm/vioapic.c
xen/arch/x86/hvm/vmx/io.c
xen/include/asm-x86/hvm/vioapic.h
xen/include/asm-x86/hvm/vpic.h